# Created by: Olivier Duchateau
# $FreeBSD$
#

PORTNAME=	awf
PORTVERSION=	1.2.1
CATEGORIES=	x11-themes

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Widget factory

BUILD_DEPENDS=	gtkdoc-scan:${PORTSDIR}/textproc/gtk-doc

GH_ACCOUNT=	valr
GH_PROJECT=	${PORTNAME}
GH_TAGNAME=	v${PORTVERSION}
GH_COMMIT=	8c32464

USE_GITHUB=	yes
USE_AUTOTOOLS=	autoconf
GNU_CONFIGURE=	yes
USE_GNOME=	gtk20 gtk30 desktopfileutils
USE_PKGCONFIG=	build
INSTALLS_ICONS=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|/bash|/sh|' ${WRKSRC}/autogen.sh

pre-configure:
	@cd ${WRKSRC} && ${SH} autogen.sh

post-install:
	@-update-desktop-database

.include <bsd.port.mk>
